import request from '@/utils/request'


export function getAppConfig(id) {
  return request({
    url: '/app/appConfig/' + id,
    method: 'get'
  })
}

export function addAppConfig(data) {
  return request({
    url: '/app/appConfig',
    method: 'post',
    data: data
  })
}

export function updateAppConfig(data) {
  return request({
    url: '/app/appConfig',
    method: 'put',
    data: data
  })
}

export function delAppConfig(id) {
  return request({
    url: '/app/appConfig/' + id,
    method: 'delete'
  })
}

